package it.ChiesaMadreRutigliano.www;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;



public class ChiesaMadreRutigliano extends Activity {
	
	private Button button;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
        setContentView(R.layout.main);
        getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.barranavigazione);
        
        button = (Button) findViewById(R.id.storia_button);
        button.setOnClickListener(storiaListener);
        Button home = (Button) findViewById(R.id.home);
        home.setVisibility(View.GONE);
        Button back = (Button) findViewById(R.id.indietro);
        back.setVisibility(View.GONE);
}
    
    private OnClickListener storiaListener = new OnClickListener(){

		public void onClick(View v) {
			Intent myIntent = new Intent(v.getContext(), Storia.class);
            startActivityForResult(myIntent, 0);
            finish();
		}
    };
    public void ElementiArchitettonici(View v){
    	Intent myIntent = new Intent(v.getContext(), ElementiArchitettonici.class);
    	startActivityForResult(myIntent, 0);
    	finish();
    }
    public void back(View v){
    	Intent myIntent = new Intent(v.getContext(), ChiesaMadreRutigliano.class);
    	startActivityForResult(myIntent, 0);
    	finish();
    }
    public void home(View v){
    	Intent myIntent = new Intent(v.getContext(), ChiesaMadreRutigliano.class);
    	startActivityForResult(myIntent, 0);
    	finish();
    }
}